//    Copyright (c) 2009 Elwyn Malethan
//
//    This file is part of java-pingback.
//
//    java-pingback is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    java-pingback is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.

//    You should have received a copy of the GNU General Public License
//    along with java-pingback.  If not, see <http://www.gnu.org/licenses/>.

package com.malethan.pingback;

public interface PingbackClient {

    public static int UNKOWN_ERROR = 0;
    public static int SOURCE_NOT_FOUND = 16;
    public static int SOURCE_HAS_NO_LINK_TO_TARGET = 17;
    public static int TARGET_NOT_FOUND = 32;
    public static int TARGET_IS_NOT_PINGBACK_RESOURCE = 33;
    public static int PINGBACK_ALREADY_REGISTERED = 48;
    public static int ACCESS_DENIED = 49;
    public static int UPSTREAM_PROBLEM = 50;

    String sendPingback(String articleUrl, Link link);

}
